package org.csmzxy.class2333;

public class Pet {
    private String type;
    private int age;
    private boolean Vaccinum;

    public void setType(String type) {
        this.type = type;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setVaccinum(boolean health) {
        this.Vaccinum = health;
    }

    public String getType() {
        return type;
    }

    public int getAge() {
        return age;
    }

    public boolean getHealth() {
        return Vaccinum;
    }

    public static void main(String[] args) {
        Pet pet1 = new Pet();
        pet1.setType("Dog");
        pet1.setAge(3);
        pet1.setVaccinum(true);

        Pet pet2 = new Pet();
        pet2.setType("Cat");
        pet2.setAge(5);
        pet2.setVaccinum(false);

        System.out.println("Pet 1: Type=" + pet1.getType() + ", Age=" + pet1.getAge() + ", Vaccinated=" + pet1.getHealth());
        System.out.println("Pet 2: Type=" + pet2.getType() + ", Age=" + pet2.getAge() + ", Vaccinated=" + pet2.getHealth());
    }
}
